@mixin clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: #d3dce6;
  }
  &::-webkit-scrollbar {
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    background: #99a9bf;
    border-radius: 20px;
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}

@mixin textEll() {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@mixin loadingCircle($index) {
  transform: rotate(#{30 * $index}deg);
  &::after{
      @if $index != 0 {
          animation-delay: -1.2s + $index / 10;
      }
  }
}